package com.itheima.tlias84.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;
import java.util.Map;

@Data
@Configuration
@ConfigurationProperties(value = "student")
public class StudentConfig {
    private String name;
    private Integer age;
    private String[] subject;
    private List<String> teachers;
    private Map<String,String> family;
}
